//
//  SimpleCacheProtocol.h
//  SimpleWebImage
//
//  Created by Jiang on 2019/8/26.
//  Copyright © 2019 SilverFruity. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol SimpleCacheProtocol <NSObject>
- (nullable UIImage *)imageForKey:(NSString *)key;
- (BOOL)saveImage:(UIImage *)image forKey:(NSString *)key;
- (void)removeImageForKey:(NSString *)key;
@end

NS_ASSUME_NONNULL_END
